package com.wwg.cms.bo.entity;
import com.wwg.cms.bo.*;
/**
 *create auto on 2010-8-31 16:43:18
 *create by wwl
 * templateset
 * 模板方案表
 * @hibernate.class table="templateset" *  mutable="true" 
 *  proxy="com.wwg.cms.bo.entity.TemplatesetEntity" 
 */
public class TemplatesetEntity implements Templateset{

	 private Long id;
	 private String description;
	 private String path;
	 private Long templateid;
	 private Long website;
	 private String name;
	 private java.util.Date createdTime;
	 private java.util.Date updatedTime;
	/**
	 *编号
 	 *
	 * @hibernate.id  column="id"
	 *  unsaved-value="null"
 	 *  generator-class="native"
	 * @return Long 
	 */
	public Long getId() {
		return id;
	}
	public void setId(Long id){
		this.id = id;
	}
	/**
	 *描述
 	 *
	 * @hibernate.property column="description"
	 * @return String 
	 */
	public String getDescription() {
		return description;
	}
	public void setDescription(String description){
		this.description = description;
	}
	/**
	 *路径
 	 *
	 * @hibernate.property column="path"
	 * @return String 
	 */
	public String getPath() {
		return path;
	}
	public void setPath(String path){
		this.path = path;
	}
	/**
	 *手工输入编号(于生成对应的文件夹有关)
 	 *
	 * @hibernate.property column="templateid"
	 * @return Long 
	 */
	public Long getTemplateid() {
		return templateid;
	}
	public void setTemplateid(Long templateid){
		this.templateid = templateid;
	}
	/**
	 *站点
 	 *
	 * @hibernate.property column="website"
	 * @return Long 
	 */
	public Long getWebsite() {
		return website;
	}
	public void setWebsite(Long website){
		this.website = website;
	}
	/**
	 *模板方案名称
 	 *
	 * @hibernate.property column="name"
	 * @return String 
	 */
	public String getName() {
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	/**
	 *创建时间
 	 *
	 * @hibernate.property column="created_time"
	 * @return java.util.Date 
	 */
	public java.util.Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(java.util.Date createdTime){
		this.createdTime = createdTime;
	}
	/**
	 *更新时间
 	 *
	 * @hibernate.property column="updated_time"
	 * @return java.util.Date 
	 */
	public java.util.Date getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(java.util.Date updatedTime){
		this.updatedTime = updatedTime;
	}
  @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TemplatesetEntity that = (TemplatesetEntity) o;
        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        return true;
    }

    @Override
    public int hashCode() {
        return id != null ? TemplatesetEntity.class.hashCode()+id.hashCode() : TemplatesetEntity.class.hashCode();
    }


}


